// GotImportFileName.cpp : implementation file
//

#include "stdafx.h"
#include "UIEditor_CPP.h"
#include "GotImportFileName.h"
#include "afxdialogex.h"


// CGotImportFileName dialog

IMPLEMENT_DYNAMIC(CGotImportFileName, CDialog)

CGotImportFileName::CGotImportFileName(CWnd* pParent /*=NULL*/)
	: CDialog(CGotImportFileName::IDD, pParent)
	, m_strFileName(_T(""))
{

}

CGotImportFileName::~CGotImportFileName()
{
}

void CGotImportFileName::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	DDX_Text(pDX, IDC_EDIT1, m_strFileName);
}


BEGIN_MESSAGE_MAP(CGotImportFileName, CDialog)
	ON_BN_CLICKED(IDOK, &CGotImportFileName::OnBnClickedOk)
	ON_BN_CLICKED(IDCANCEL, &CGotImportFileName::OnBnClickedCancel)
END_MESSAGE_MAP()


// CGotImportFileName message handlers


void CGotImportFileName::OnBnClickedOk()
{
	UpdateData(TRUE);
	CDialog::OnOK();
}


void CGotImportFileName::OnBnClickedCancel()
{
	// TODO: Add your control notification handler code here
	CDialog::OnCancel();
}
